.class public Les/iq;
.super Les/ll;
.source "InfoSceneCms.java"


# instance fields
.field public c:Les/cs;

.field public d:Les/ds;

.field private e:Ljava/lang/Class;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/Class<",
            "+",
            "Les/ds;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Ljava/lang/Class;)V
    .locals 0
    .param p1    # Ljava/lang/Class;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Class<",
            "+",
            "Les/ds;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Les/ll;-><init>()V

    .line 2
    iput-object p1, p0, Les/iq;->e:Ljava/lang/Class;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 1

    .line 8
    invoke-super {p0}, Les/ll;->a()V

    const/4 v0, 0x0

    .line 9
    iput-object v0, p0, Les/iq;->d:Les/ds;

    return-void
.end method

.method public a(Lorg/json/JSONObject;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 1
    invoke-super {p0, p1}, Les/ll;->a(Lorg/json/JSONObject;)V

    const-string v0, "common"

    .line 2
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 3
    new-instance v1, Les/cs;

    invoke-direct {v1}, Les/cs;-><init>()V

    iput-object v1, p0, Les/iq;->c:Les/cs;

    .line 4
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    invoke-virtual {v1, v0}, Les/cs;->a(Lorg/json/JSONObject;)V

    :cond_0
    const-string v0, "scenes"

    .line 5
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 6
    iget-object v1, p0, Les/iq;->e:Ljava/lang/Class;

    invoke-virtual {v1}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/ds;

    iput-object v1, p0, Les/iq;->d:Les/ds;

    .line 7
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object p1

    invoke-virtual {v1, p1}, Les/ds;->a(Lorg/json/JSONObject;)V

    :cond_1
    return-void
.end method
